package yijy.base;

/**
 * Created by yijy on 2017/9/15.
 */
public final class FinalTest {

    final int a;

    public FinalTest() {
        a=0;
        System.out.println("start!!!!!!!!");
    }

    public FinalTest(int b) {
        a=b;
        System.out.println("start!!!!!!!!");
    }

    public void sayHello() {
        System.out.println(a+"---------hello");
    }

    public static void main(String[] args) {

        new FinalTest(3).sayHello();
    }
}
